/*
 * @Descripttion: 文件说明
 * @version: V1.0
 * @Author: GW
 * @Date: 2021-08-28 15:03:48
 * @LastEditors: GW
 * @LastEditTime: 2022-01-08 11:57:23
 */
import Vue from "vue";
import Vuex from "vuex";

import app from "./modules/app";
import user from "./modules/user";
import tab from "./modules/tab-data";
import operation from "./modules/operation";
// default router permission control
// import permission from "./modules/permission";

// dynamic router permission control (Experimental)
import permission from "./modules/async-router";
import getters from "./getters";
import order from "./modules/order";
import msg from "./modules/message";
import callingBox from "./modules/calling-box";

Vue.use(Vuex);

export default new Vuex.Store({
  modules: {
    app,
    user,
    permission,
    tab,
    order,
    msg,
    operation,
    callingBox
  },
  state: {},
  mutations: {},
  actions: {},
  getters
});
